import instance from "./request";
//获取验证码接口
const verify = (data) => {
  return instance({
    url: "/sendsms",
    method: "post",
    data,
  });
};
//用户注册接口
const register = (data) => {
  return instance({
    url: "/register",
    method: "post",
    data,
  });
};
export { verify, register };
